﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DatabaseCore;
using Eaktest;

namespace EakTest
{
    public partial class BaseForm : Form
    {
        public BaseForm()
        {
            InitializeComponent();

            new UserContext(new tbl_User());
            tsStatusName.Text = UserContext.FullName;
            tsStatusRole.Text = UserContext.Role.ToString(); ;

        }

        private void tsSaveDraft_Click(object sender, EventArgs e)
        {
            SaveDraft();
        }

        private void tsSendApprove_Click(object sender, EventArgs e)
        {
            SendApprove();
        }

        #region Virtual method

        public virtual void SaveDraft()
        {

        }

        public virtual void SendApprove()
        {

        }

        #endregion

        
    }
}
